﻿Imports System.Web
Imports System.Web.Optimization

Public Class BundleConfig
    Public Shared Sub RegisterBundles(ByVal bundles As BundleCollection)
        bundles.Add(New ScriptBundle("~/bundles/jquery").Include(
                   "~/Scripts/jquery-{version}.js"))

        bundles.Add(New ScriptBundle("~/bundles/jqueryui").Include(
                    "~/Scripts/jquery-ui-{version}.js"))

        bundles.Add(New ScriptBundle("~/bundles/jqueryui/datepickerru").Include(
                    "~/Scripts/jquery.ui.datepicker-ru.js"))

        bundles.Add(New ScriptBundle("~/bundles/jqueryval").Include(
                    "~/Scripts/jquery.unobtrusive*",
                    "~/Scripts/jquery.validate*",
                    "~/Scripts/methods_ru.js"))

        bundles.Add(New ScriptBundle("~/bundles/modernizr").Include(
                    "~/Scripts/modernizr-*"))

        bundles.Add(New ScriptBundle("~/bundles/bootstrap").Include("~/Scripts/bootstrap.js"))

        bundles.Add(New ScriptBundle("~/bundles/bootstrap/fileupload").Include("~/Scripts/bootstrap-fileupload.js"))

        bundles.Add(New StyleBundle("~/Content/bootstrap").Include("~/Content/bootstrap.css"))

        bundles.Add(New StyleBundle("~/Content/bootstrap/responsive").Include("~/Content/bootstrap-responsive.css"))

        bundles.Add(New StyleBundle("~/Content/bootstrap/fileupload").Include("~/Content/bootstrap-fileupload.css"))

        bundles.Add(New StyleBundle("~/Content/css").Include("~/Content/Site.css"))

        bundles.Add(New StyleBundle("~/Content/themes/base/css").Include(
                    "~/Content/themes/base/jquery.ui.core.css",
                    "~/Content/themes/base/jquery.ui.datepicker.css",
                    "~/Content/themes/base/jquery.ui.theme.css",
                    "~/Content/themes/base/jquery.ui.custom.css"))
    End Sub
End Class